//
//  EXObjectServer.h
//  CommonSpaces
//
//  Created by PH on 8.2.10.
//  Copyright 2010 Codesign. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "EXObjectStore.h"

#ifndef MB_IPHONE	// NSConnection is not available on the iPhone
@interface EXObjectServer : EXObjectStore {
	//
}

- (id)initWithKeyValueStore:(NSObject<ORMKeyValueStore>*)_KVStore;
+ (EXObjectServer*)localServerWithServiceName:(NSString*)serviceName;
- (BOOL)serveWithServiceName:(NSString*)serviceName maximalNumberOfConnections:(NSUInteger)maximalNumberOfConnections;

@end
#endif